projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a5af1c
)
(main): For SIGHUP, use sigblock and sigunblock,
author
Richard M. Stallman
<rms@gnu.org>
Wed, 12 Jun 1996 21:49:19 +0000
(21:49 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Wed, 12 Jun 1996 21:49:19 +0000
(21:49 +0000)
not sigblockx and sigunblockx.
src/emacs.c
patch
|
blob
|
history
diff --git
a/src/emacs.c
b/src/emacs.c
index 35c8de4d73076b7cadb14ae24a1eaddede2b9b7b..9677d5103b5026a756e07db9c5169088d53e3cea 100644
(file)
--- a/
src/emacs.c
+++ b/
src/emacs.c
@@
-675,13
+675,13
@@
Usage: %s [-t term] [--terminal term] [-nw] [--no-windows] [--batch]\n\
#endif
)
{
- sigblock
x (SIGHUP
);
+ sigblock
(sigmask (SIGHUP)
);
/* In --batch mode, don't catch SIGHUP if already ignored.
That makes nohup work. */
if (! noninteractive
|| signal (SIGHUP, SIG_IGN) != SIG_IGN)
signal (SIGHUP, fatal_error_signal);
- sigunblock
x (SIGHUP
);
+ sigunblock
(sigmask (SIGHUP)
);
}
if (